<html>
<head>
    <meta charset="utf-8">
    <title>微小宝客户端</title>
    <link rel="stylesheet" type="text/css" href="assest/css/amazeui.css">
    <link rel="stylesheet" id="baseCss" type="text/css" href="assest/css/base.css">
    <link rel="stylesheet" type="text/css" href="assest/css/balloon.css">
    <link rel="stylesheet" type="text/css" href="assest/css/wechat.css">
    <link rel="stylesheet" type="text/css" href="assest/css/index.min.css">
    <link rel="stylesheet" type="text/css" href="assest/plugins/font-awesome/css/font-awesome.min.css">
    <script>
        var CONFIG={
            CLIENT_BASE_DIR:'./',
            CLOUD_PAGE:'./pages/material/cloud.html',
            EDITOR_PAGE:'./pages/editor_new/v2.html',
        };
        (function(){
            var gui = require('nw.gui');
            var win = gui.Window.get();
            // win.maximize();
        })();
    </script>
</head>
<body>
<header class="am-g">
    <div class="drag-bar"></div>
    <div class="am-u-lg-2 logo-wrap">
        <a id="logo" href="index.html#home">
            <img src="assest/img/logo_03.jpg">
        </a>

        <div class="web-controler am-hide">
            <i data-action="back" class="fa fa-arrow-left"></i>
            <i data-action="forward" class="fa fa-arrow-right"></i>
            <i data-action="refresh" class="fa fa-repeat"></i>
        </div>
    </div>
    <div class="am-u-lg-10 am-padding-xs" style="width: auto;">
        <ul class="am-nav am-nav-pills">
            <li class="js-home-tab-btn">
                <a href="#home">
                    <div class="nav-icon home-icon"></div>
                    <span>首页</span>
                </a>
            </li>
            <li class="js-account-tab-btn">
                <a href="#account">
                    <div class="nav-icon account-icon"></div>
                    <span>微信公众号</span>
                     <span id="total_new_msg_cnt" class="am-badge am-badge-danger am-round" style="display: none;">0</span>
                </a>
            </li>
            <li class="js-material-tab-btn">
                <a href="#material">
                    <div class="nav-icon material-icon"></div>
                    <span>本地素材</span>
                </a>
                <span class="am-badge am-badge-danger am-round am-hide">new</span>
            </li>

            <li class="js-editor-tab-btn" style="display: none;">
                <a href="#editor">
                    <div class="nav-icon editor-icon"></div>
                    <span>素材编辑</span>
                </a>
            </li>
            <li class="js-material_wechat-tab-btn">
                <a href="#material_wechat">
                    <div class="nav-icon material-weixin-icon"></div>
                    <span>微信素材</span>
                </a>
            </li>
            <li class="js-wx_article-tab-btn">
                <a href="#wx_article">
                    <div class="nav-icon wx_article-icon"></div>
                    <span>文章排行榜</span>
                </a>
            </li>
            <li class="js-custom_follow-tab-btn">
                <a href="#custom_follow">
                    <div class="nav-icon custom_follow-icon"></div>
                    <span>关注的公众号</span>
                </a>
            </li>
            <li class="js-keywords-tab-btn">
                <a href="#keywords">
                    <div class="nav-icon keywords-icon"></div>
                    <span>关键词订阅</span>
                </a>

            </li>
            <li class="js-wx_article_best-tab-btn">
                <a href="#wx_article_best">
                    <div class="nav-icon wx_article_best-icon"></div>
                    <span>精品爆文</span>
                </a>
            </li>
            <li class="">
                <a href="#jiedan_zhuanqian">
                    <div class="nav-icon jiedan-icon"></div>
                    推广盈利
                </a>
                <span style="right: 0px;" class="am-badge am-badge-danger am-round">new</span>
            </li>
        </ul>

    </div>
    <div class="head-tool">
        <span class="login-user-name">请登录</span>
        <a title="设置" class="wxb-win-config js-show-app-config"></a>
        <a title="更多" class="wxb-win-dev"></a>
        <a title="最小化" class="wxb-win-min"></a>
        <a title="最大化" class="wxb-win-max"></a>
        <a title="关闭客户端" class="wxb-win-close"></a>
    </div>
    <ul class="setting-menu am-hide">
        <li class="mustLogin am-hide" data-action="set-profile">个人信息设置</li>
        <li class="mustLogin am-hide line"></li>
        <li>
            <a href="#ad_accounts">投接广告</a>
        </li>
        <li>
            <a href="#i_media_order">涨粉赚钱</a>
        </li>
        <li class="line"></li>
        <li data-action="help">帮助</li>
        <li data-action="fallback">反馈</li>
        <li data-action="about">关于</li>
        <li class="line"></li>
        <li data-action="checkUpdate">检查更新</li>
        <li data-action="updateToThis">手动更新</li>
        <li class="mustLogin am-hide line"></li>
        <li class="mustLogin am-hide" data-action="logout">退出登录</li>
    </ul>
</header>
<div class="am-g main" id="main">
    <div id="homeWrap" class="active"></div>
    <div id="accountWrap"></div>
    <div id="materialWrap"></div>
    <div id="material_wechatWrap"></div>
    <div id="editorWrap"></div>
    <div id="wx_articleWrap"></div>
    <div id="custom_followWrap"></div>
    <div id="keywordsWrap"></div>
    <div id="ad_accountsWrap"></div>
    <div id="i_media_orderWrap"></div>
    <div id="wx_article_bestWrap"></div>
    <div id="paiHangBangWrap"></div>
    <div id="elseWrap"></div>
    <div id="articleCart"></div>
</div>
<footer class="am-g">
    <div class="am-u-md-2"></div>
    <div class="am-u-md-10 am-text-right">
        <span class="clickable accounts_stat"> 帮助 </span>
        <span class="bottom-split"></span>
        <span class="clickable js-feedback margin-right-10"> 反馈 </span>

        <div class="js-app-version inline clickable">
            当前版本:
            <span class="app-version">V0.0.0</span>
        </div>
        <span class="js-upload-tips tips-dot" style="display: none;" title="有新版本">&nbsp;</span>
    </div>
</footer>

<div id="materialConfig" class="wxbalert mod-alert shadow-box material-config-modal">
    <div class="alert-head">
        设置常用模板（<span class="js-nowAccountName"></span>）
        <i class="fa fa-times js-cancel"></i>
    </div>
    <div class="alert-content">
        <div data-am-widget="tabs" class="am-tabs am-tabs-default js-material-config-tab">
            <ul class="am-tabs-nav am-cf">
                <li class="am-active" data-type="guide">
                    <a href="javascript:void(0);">关注引导模板</a>
                </li>
                <li class="" data-type="sign">
                    <a href="javascript:void(0);">签名模板</a>
                </li>
                <li class="" data-type="link">
                    <a href="javascript:void(0);">阅读原文引导模板</a>
                </li>
                <li class="" data-type="link_href">
                    <a href="javascript:void(0);">原文链接地址</a>
                </li>
            </ul>
            <div class="am-tabs-bd">
                <div class="am-tab-panel am-active material-wrap">
                    <script id="materialConfigTextarea" style="width: 100%;height: 243px;"></script>
                </div>
                <div class="am-tab-panel link_href-wrap">
                    <div class="am-form">
                        <div class="am-form-group">
                            <label for="doc-ipt-email-1">默认原文链接地址：</label>
                            <textarea type="text" class="js-link_href-value" placeholder="默认原文地址"></textarea>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="alert-foot">
        <a class="green js-fetch-ferom-cloud">从云端导入</a>
        <a class="ok js-sure">保存</a>
        <a class="cancel js-cancel">关闭</a>
    </div>
</div>


<!-- template list start -->

<script id="accountListTpl" type="text/template">
    <%
    _.each(accounts,function(account){
    %>
    <li data-wxid="<%- account.wxid %>">
        <div class="account-avatar"><img onerror="fixAvatar('<%- account.wxid %>',this)" class="account-avatar" src="http://open.weixin.qq.com/qr/code/?username=<%- account.wxid %>"></div>
        <%- account.nickName %>
        <% if(account.home_info && account.home_info.new_msg_cnt){ %>
            <span class="am-badge am-badge-danger am-round"><%- account.home_info.new_msg_cnt %></span>
        <% }else{ %>
            <span style="display:none;"></span>
        <% } %>
    </li>
    <%  }) %>
</script>
<script id="localaccountLiTpl" type="text/template">
    <li data-wxid="<%- wxid %>"><%- nickname %></li>
</script>

<script id="fullIframeTpl" type="text/template">
    <iframe class="fullIframe" src="<%- url %>"></iframe>
</script>


<script id="accountTpl" type="text/template">
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_account">
        <div class="btn-wrap">
            <span class="js-add-mp-account custom-btn more"><i class="fa fa-plus"></i> 添加</span>
            <span class="js-manage-mp-accounts custom-btn" title="管理公众号"><i class="fa fa-cog"></i> </span>
        </div>
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
        <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div>
        </div>
    </div>
    <div class="right_account" style="float: left;">
        <iframe nwfaketop class="fullIframe" id="wechatIframe" src="<%- url %>"></iframe>
    </div>
</script>

<script id="materialTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">还未添加过微信公众号，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_material" >
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
        <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div class="contentMain material right_material" >
        <div class="material-list am-padding-xs"></div>
    </div>
    <% } %>
</script>

<script id="material_wechatTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">还未添加过微信公众号，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_material_wechat" >
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div class="contentMain">
        <div class="right_material_wechat">
            <div class="am-cf" style="margin-bottom: 10px;">
                <button id="refreshMaterial_wechatRight" class="am-btn am-fl am-btn-secondary am-btn-sm"><i class="fa fa-refresh"></i> 刷新</button>
                <button id="show_MP_material_list" class="am-btn am-fl am-btn-success am-btn-sm"><i class="fa fa-wechat"></i> 去公众号后台</button>
                <button id="showSendTimerList" class="am-btn am-fl am-btn-danger am-btn-sm"><i class="fa fa-clock-o"></i> 管理定时群发</button>
                <div id="material_wechat_pager" class="material-pager am-fr"></div>
            </div>
            <div class="materials-page-list-wrap">
                <div id="material_wechat_list" class="materials-page-list"></div>
                <div id="listMask" class="list-mask"></div>
            </div>

        </div>

    </div>
    <% } %>
</script>

<script id="material_wechatItemTpl" type="text/template">
    <ul class="material-list-single" data-index="<%- index %>" data-id="<%- app_id %>">
        <li class="title">
            创建时间：<%- Util.dateParse(create_time*1000).fullRet %>
            <span class="am-badge am-badge-success" title="微信素材ID:<%- app_id %>"><i class="fa fa-wechat"></i></span>
        </li>
        <% _.each(multi_item,function(item,index){ %>
        <li class="material-item" data-index="<%- index %>" data-appId="<%- item.app_id %>" data-json="<%- JSON.stringify(item) %>">
            <div class="material-list-single-thumb">
                <img onerror="fixMaterialCover('<%- item.cover %>',this,'<%- app_id+index %>')" class="material-list-single-img" src="<%- item.cover %>">

            </div>
            <span class="material-list-single-title"><%= item.title %></span>
            <div class="article-operate">
                <span class="operate-btn js-add-article" title="添加到素材合成器"><i class="fa fa-plus-square"></i></span>
                <span class="operate-btn js-add-article-else" title="添加到别的公众号的素材合成器"><i class="fa fa-external-link-square"></i></span>
            </div>
        </li>
        <% }) %>
        <li class="material-operate">
            <a href="javascript:;" class="operate-btn js-material-preview" title="预览素材"> 预览</a>
            <a href="javascript:;" class="operate-btn js-material-send" title="群发素材"> 群发</a>
            <a href="javascript:;" class="operate-btn js-material-send-timer" title="定时群发">定时群发</a>
            <div class="operate-btn js-operate-more" title="更多操作">
                <i class="fa fa-angle-double-down"></i> 更多
                <ul class="am-dropdown-content">
                    <li class="am-dropdown-header">更多操作</li>
                    <li><a href="javascript:;" class="js-material-download" title="存到本地素材库中">存为本地素材</a></li>
                    <li class="am-divider"></li>
                    <li><a href="javascript:;" class="js-material-wechat-edit" title="编辑这个微信素材">编辑微信素材</a></li>
                    <li class="am-divider"></li>
                    <li><a href="javascript:;" class="js-material-wechat-del" title="删除这个微信素材">删除微信素材</a></li>
                </ul>

            </div>
        </li>
    </ul>
</script>
<script id="pagerTpl" type="text/template">
    <% if(currentPage!=1){%>
        <span class="js-pager-prev pager-btn"><i class="fa fa-caret-left"></i></span>
    <% }%>
    <span class="pager-text"><%- currentPage %>/<%- totalPage %></span>
    <% if(currentPage<totalPage){%>
    <span class="js-pager-next pager-btn"><i class="fa fa-caret-right"></i></span>
    <% }%>
    <input class="js-pager-num pager-num" type="text"/>
    <span class="js-pager-go pager-btn">跳转</span>
</script>

<script id="wx_articleTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">还未添加过微信公众号，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div  style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_wx_article">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
        <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div class="contentMain wx_article right_wx_article" style="padding-left: 0;padding-right: 0;">
        <div>
            <div>
            <div class="times"></div>
            <div class="catalogs"></div>
            <div style="margin: 10px;">
                <table class="am-table am-table-striped table-wxb news"></table>
            </div>
            <div class="newsPager" class="wx_article_pager"></div>
        </div>

        </div>
    </div>
    <% } %>

</script>

<script id="custom_followTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">还未添加过微信公众号，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_wx_article">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div id="customFollowWrap" class="contentMain custom_follow" style="padding-left: 0;padding-right: 0;">
        <iframe class="fullIframe" src="pages/material/custom_follow.html" style="height: 100%;width: 100%" frameborder="0"></iframe>
    </div>
    <% } %>

</script>

<script id="keywordsTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">还未添加过微信公众号，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_wx_article">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div id="keywords_Wrap" class="contentMain custom_follow" style="padding-left: 0;padding-right: 0;">
        <iframe class="fullIframe" src="pages/material/keywords.html" style="height: 100%;width: 100%" frameborder="0"></iframe>
    </div>
    <% } %>

</script>

<script id="ad_accountsTpl" type="text/template">
    <iframe class="fullIframe" src="pages/e.wxb.com/accounts.html" style="height: 100%;width: 100%" frameborder="0"></iframe>
</script>

<script id="i_media_orderTpl" type="text/template">
    <iframe class="fullIframe" src="pages/i.wxb.com/mediaOrder.html" style="height: 100%;width: 100%" frameborder="0"></iframe>
</script>
<script id="jiedanTpl" type="text/template">
    <iframe class="fullIframe" src="pages/jiedan/index.html" style="height: 100%;width: 100%" frameborder="0"></iframe>
</script>

<script id="timesTpl" type="text/template">
    <div class="am-fl">
        <div class="timePrefix">日期 :</div>
        <ul class="date am-fl">
            <li style="display: none;" class="js-for-datePicker"></li>
            <%
            var i = 0;
                    for(var k in wxb.wx_article_times){ %>
            <li <%= i == 0 ? 'class="am-active"' : '' %> data-key="<%- wxb.wx_article_times[k].ret %>" data-date="<%- wxb.wx_article_times[k].date %>">
                <%- wxb.wx_article_times[k].seeRet %>
            </li>
            <% i++; } %>
        </ul>
    </div>
    <div class="am-fl times-date-picker">
        <strong>历史回顾</strong> <i class="fa fa-calendar"></i>
    </div>
    <div class="am-fr article-search-area">
        <input type="search" placeholder="搜索文章">
        <span class="search-button"><i class="fa fa-search"></i></span>
    </div>
</script>
<script id="articleCartTpl" type="text/template">
    <div class="am-panel am-panel-default cart-wrap">
        <div class="am-panel-hd">
            <% var account = _.find(wxb.accounts,function(account){return wxb.currentAccount==account.wxid})%>
            <strong><%- account.nickName %></strong>
            的素材合成器 <span class="js-material-now-num" style="color: red;"> ：
            <%- wxb.materialObj.data.length>0?wxb.materialObj.data.length+"条图文":"空"%>
        </span><span class="am-fr switch"><%- wxb.materialPanShow==1?'收起':'展开' %></span>
        </div>
        <div class="am-list-static <%- wxb.materialPanShow==1?'':'am-hide' %>">
            <ul class="material-list-single for-cart">
                <% var _tempData=wxb.materialObj.data; %>
                <% if(_tempData.length>0){ %>
                <li class="material-time"> <%- new Date().toLocaleString() %> </li>
                <% } %>
                <% for(var i=0,max=_tempData.length;i<max;i++){ %>
                <li class="material-item js-material-item">
                    <div class="material-list-single-thumb">
                        <img class="material-list-single-img" src="<%- _tempData[i].fileid %>">
                    </div>
                    <span class="material-list-single-title js-article-title"><%= _tempData[i].title %></span>
                    <span title="删除" class="article-del"><i class="fa fa-times"></i></span>
                </li>
                <% } %>
            </ul>
            <% if(_tempData.length>0){ %>
            <div class="cart-bottom">
                <a href="javascript:;" class="save-material" title="合成为图文">合成为图文</a>
                <a href="javascript:;" class="clear-material" title="清空合成器">清空合成器</a>
            </div>
            <% } %>
        </div>

    </div>
</script>
<script id="catalogsTpl" type="text/template">
    <div class="catalogsPrefix">分类</div>
    <li class="am-active" data-key=0>综合</li>
    <% for(var key in wxb.wx_article_catalogs){ %>
    <li data-key="<%- key %>">
        <%- wxb.wx_article_catalogs[key] %>
    </li>
    <% } %>
</script>
<script id="newsTheadTpl" type="text/template">
    <tr>
        <th>标题</th>
        <th width="80">文章类型</th>
        <th width="200">微信名称</th>
        <th width="100">阅读数</th>
        <th width="100">点赞数</th>
        <th width="<%- wxb.accounts.length==1?'180':'80' %>">操作</th>
    </tr>
</script>
<script id="newsTbodyTpl" type="text/template">
    <tr>
        <td class="article" data-id="<%- id %>" data-url="<%- url %>">
            <%= is_original=="0"?'':'<span class="article-original" title="这是一篇原创文章">原创</span>'%>
            <%= title.length>0?title:"无题" %>
        </td>
        <td><%- getArticleContentType(content_type) %></td>
        <td><%- account %></td>
        <td><%- read %></td>
        <td><%- like %></td>
        <td>
            <% if(wxb.accounts.length==1){ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i> 加入素材合成器</span>
            </a>
            <% }else{ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i></span>
            </a>
            |
            <a class="add2others" href="javascript:;">
                <span><i class="fa fa-external-link-square"></i></span>
            </a>
            <% } %>
        </td>
    </tr>
</script>

<script type="text/template" id="addMaterialAccountList">
    <ul id="wx_article_account_list" style="list-style: none;padding-left: 0;text-align: left;">
        <% _.each(wxb.accounts,function(account){ if(wxb.currentAccount!=account.wxid){%>
        <li>
            <% var m=localStorage.getItem("material4"+account.wxid),num=0;
            try{
                num=JSON.parse(m).data.length;
            }catch(e){}
            %>
            <input id="<%- account.wxid %>"
                   data-key="<%- account.wxid %>"
                   type="checkbox"
                    <%- num==8?"disabled":""%>
            >
            <label for="<%- account.wxid %>">
                <%- account.nickName %>
            </label>
            <span style="float:right;">已加
            <span style="color:<%- num==8?"red":"#428bca"%>;">
                <%- num %>
            </span> 篇</span>
        </li>
        <% }}) %>
    </ul>
</script>

<script type="text/template" id="addMaterialAccountListWx">
    <ul id="wx_article_account_list" style="list-style: none;padding-left: 0;text-align: left;">
        <% _.each(wxb.accounts,function(account){ %>
        <li><input id="<%- account.wxid %>"
                   data-key="<%- account.wxid  %>"
                   type="checkbox">
            <label for="<%- account.wxid  %>">
                <%- account.nickName  %>
            </label>
        </li>
        <% }) %>
    </ul>
    <label style="position: absolute; bottom: 0px; left:20px;z-index:2;"><input id="wx_article_check_all" type="checkbox"/> 全选</label>
</script>

<script id="materialListTpl" type="text/template">
    <% var _temp=Material.config[wxb.currentAccount]; %>
    <div class="am-cf" style="margin-bottom: 10px;">
        <button id="createMaterial" class="am-btn am-fl am-btn-primary am-btn-sm">创建新素材</button>

        <button id="setAccountMaterial" class="am-btn am-btn-warning am-fr am-btn-sm">设置常用模板<%= _temp?'':'（未设置）' %></button>
        <% if(wxb.hasLogin){ %>
        <button id="getMaterial" class="am-btn am-btn-secondary am-fl am-btn-sm mustLogin">从云端拉取</button>
        <button id="showMyCloudStyle" class="am-btn am-btn-secondary am-fr mustLogin am-btn-sm">管理我的样式</button>
        <% }else{ %>
        <button title="使用此功能需登录" id="getMaterial" class="am-btn am-btn-secondary am-disabled am-btn-sm mustLogin">从云端拉取(请先登录)</button>
        <button title="使用此功能需登录" class="am-btn am-btn-secondary am-fl am-fr am-disabled am-btn-sm">管理我的样式(请先登录)</button>
        <% } %>

    </div>

    <% wxb.materials=_.compact(wxb.materials);if(JSON.stringify(wxb.materials)=="{}" || JSON.stringify(wxb.materials)=="[]" ){ %>
    素材为空
    <% } %>
    <div class="js-materials-list materials-page-list">
        <% _.each(wxb.materials.reverse(),function(v,k){if(v!=null){ %>
            <ul class="material-list-single" data-key="<%- wxb.materials.length-1-k %>" data-id="<%- v.id %>">
                <li class="title">
                    创建时间：<%- Util.dateParse(v.time).fullRet %>
                    <% if(v.cloudId){ %>
                    <span class="am-badge am-badge-secondary" title="云端素材ID:<%- v.cloudId %>"><i class="fa fa-cloud"></i></span>
                    <% } %>
                    <% if(v.wechatId){ %>
                    <span class="am-badge am-badge-success" title="微信素材ID:<%- v.wechatId %>"><i class="fa fa-wechat"></i></span>
                    <% } %>
                </li>
                <% _.each(v.data,function(vv,kk){ %>
                    <li class="material-item" data-index="<%- kk%>">
                        <div class="material-list-single-thumb">
                            <img onerror="fixMaterialCover('<%- vv.fileid %>',this,'<%- v.id+kk %>')" class="material-list-single-img" src="<%- vv.fileid %>">
                        </div>
                        <span class="material-list-single-title"><%= vv.title %></span>
                        <div class="article-operate">
                            <span class="operate-btn js-add-article" title="添加到素材合成器"><i class="fa fa-plus-square"></i></span>
                            <span class="operate-btn js-add-article-else" title="添加到别的公众号的素材合成器"><i class="fa fa-external-link-square"></i></span>
                        </div>
                    </li>
                    <% }) %>
                    <li class="material-operate">
                        <a data-href="#editor" class="operate-btn material-list-single-edit" title="编辑"><i class="fa fa-pencil"></i> 编辑</a>
                        <a href="javascript:;" class="operate-btn material-list-single-del" title="删除"><i class="fa fa-trash-o"></i> 删除</a>
                        <a href="javascript:;" class="operate-btn material-list-single-send" title="同步到公众号后台"><i class="fa fa-refresh"></i> 同步</a>
                        <div class="operate-btn js-operate-more" title="更多操作">
                            <i class="fa fa-angle-double-down"></i> 更多
                            <ul class="am-dropdown-content">
                                <li class="am-dropdown-header">更多操作</li>
                                <li><a href="javascript:;" title="保存到云端" class="js-material-save-to-cloud">保存到云端</a></li>
                                <li class="am-divider"></li>
                                <li><a href="javascript:;" title="发送到多个公众号" class="js-material-send-to-multi">发送到多个公众号</a></li>
                            </ul>

                        </div>
                    </li>
            </ul>
        <% }});wxb.materials.reverse(); %>
    </div>
    <% if(hasMore){ %>
    <div class="text-center">
        <span class="am-btn am-btn-primary am-btn-sm  js-show-all-material"> <i class="fa fa-angle-double-down"></i> 显示全部素材</span>
    </div>
    <% } %>

</script>
<script id="editorTpl" type="text/template">
    <iframe id="editorIframe" class="fullIframe" style="width: 100%;" src="pages/editor_new/index.html"></iframe>
</script>

<script id="sr_articleTpl" type="text/template">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">还未添加过微信公众号，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div class="am-u-md-2 am-padding-xs">
        <ul class="account-list"></ul>
    </div>
    <div class="contentMain am-u-md-10">
        <table class="sr-table am-table am-table-striped am-table-hover"></table>
        <button id="sr-next">next</button>
    </div>
    <% } %>
</script>
<script id="sr_newsTpl" type="text/template">
    <thead>
    <tr>
        <th>标题</th>
        <th width="100">阅读数</th>
        <th width="100">操作</th>
    </tr>
    </thead>
    <tbody>
    <% for(var i=0,l=wxb.srnews.length;i<l;i++){ %>
        <tr>
            <td class="article" data-id="<%- wxb.srnews[i].id %>"
                data-url="<%- wxb.srnews[i].url %>">
                <%- wxb.srnews[i].title %>
            </td>
            <td><%- wxb.srnews[i].hit %></td>
            <td><a class="add2material" href="javascript:;">加入备选</a></td>
        </tr>
        <% } %>
    </tbody>

</script>
<!--alertTpl-->
<script type="text/template" id="wxbalert-notice">
    <div class="js-modal wxbalert mod-notice shadow-box">
        <% if(state===1){%>
        <i class="fa fa-check-circle"></i>
        <%}else if(state===-1){%>
        <i class="fa fa-times-circle"></i>
        <%}else if(state===0){%>
        <i class="fa fa-info-circle"></i>
        <% } %>
        <div class="wxbalert-notice-text"><%= text %></div>
        <% if(close){%>
        <i class="fa fa-times"></i>
        <% } %>

    </div>
</script>
<script type="text/template" id="wxbalert-message">
    <div class="js-modal wxbalert mod-message shadow-box">
        <div class="message-head">
            <%- title %>
            <i class="fa fa-times"></i>
        </div>
        <div class="message-content">
            <%= html %>
        </div>

    </div>
</script>
<script type="text/template" id="wxbalert-alert">
    <div class="<%- className %>">
        <div class="js-modal-mask modal-mask"></div>
        <div class="js-modal wxbalert mod-alert shadow-box">
            <div class="alert-head">
                <%- title %>
                <i class="fa fa-times cancel"></i>
            </div>
            <div class="alert-content">
                <% if(hasIcon==1){%><i class="fa fa-info-circle"></i><%}%>
                <%= html %>
            </div>
            <div class="alert-foot">
                <a class="ok">确定</a>
            </div>
        </div>
    </div>

</script>
<!--/confirmTpl-->
<script type="text/template" id="wxbalert-confirm">
    <div class="<%- className %>">
        <div class="js-modal-mask modal-mask"></div>
        <div class="js-modal wxbalert mod-alert shadow-box" style="<%- wrapWidth %> <%- marginLeft %> <%- wrapHeight %> <%- marginTop %>">
            <div class="alert-head">
                <%- title %>
                <i class="fa fa-times cancel"></i>
            </div>
            <div class="alert-content">
                <% if(hasIcon==1){%><i class="fa fa-question-circle"></i><%}%>
                <%= html %>
            </div>
            <div class="alert-foot">
                <a class="ok"><%= yesText%></a>
                <a class="cancel"><%= noText%></a>
            </div>
        </div>
    </div>
</script>
<!--/alertTpl-->

<script type="text/template" id="loading">
    <div class="loading-warp">
        <div class="loading">
            <div class="spinner">
                <div class="rect1"></div>
                <div class="rect2"></div>
                <div class="rect3"></div>
                <div class="rect4"></div>
                <div class="rect5"></div>
            </div>
            <p><%= text %></p>
        </div>
    </div>
</script>


<script type="text/template" id="offLineText">
    <style>
        body{background-color: #f7f7f7; color: #585858;font-family: "Segoe UI", Arial, "Microsoft Yahei", Simsun, sans-serif;}
        h3{color: #696969;}
    </style>
    <div id="errorInfo" style="width: 600px; height: 160px;;position: absolute; top: 80px;left: 50%;margin-left: -300px;">
        <h3>请检查您的互联网连接是否正常</h3>
        <P>请检查您的网线是否插好，并重新启动您在使用的任何路由器、调制解调器或其他网络设备。</P>
        <h3>对防火墙或防病毒软件进行设置，以允许 微小宝 访问该网络。</h3>
        <P>如果它已被列为允许访问网络的程序，请尝试将其从列表中删除，然后再重新添加。</P>
        </div>
</script>

<script type="text/template" id="wx_article_bestTpl">
    <% if(JSON.stringify(wxb.accounts)=="{}" || JSON.stringify(wxb.accounts)=="[]" ){ %>
    <h1 class="am-text-center account-empty">还未添加过微信公众号，请先<a class="account-add" href="index.html#account">添加</a></h1>
    <% }else{ %>
    <div style="width: <%- wxb.accountListOffset %>px;" class="account-list-drag-area left_wx_article_best">
        <ul class="account-list"></ul>
        <div class="drag-move-parent">
            <div class="drag-move" style="left: <%- wxb.accountListOffset-76 %>px"></div></div>
    </div>
    <div class="contentMain wx_article right_wx_article_best" style="padding-left: 0;padding-right: 0;">
        <div class="wx_article_best_wrap">
            <div class="times"></div>
            <div class="catalogs"></div>
            <div style="margin: 10px;">
                <table class="am-table am-table-striped table-wxb news"></table>
            </div>
            <div class="newsPager" class="wx_article_pager"></div>
        </div>
    </div>
    <% } %>
</script>

<script id="bestTheadTpl" type="text/template">
    <tr>
        <th>标题</th>
        <th width="80">文章类型</th>
        <th width="200">微信名称</th>
        <th width="100">火爆度</th>
        <th width="100">点赞数</th>
        <th width="<%- wxb.accounts.length==1?'180':'80' %>">操作</th>
    </tr>
</script>
<script id="bestTbodyTpl" type="text/template">
    <tr>
        <td class="article" data-id="<%- id %>" data-url="<%- article_url %>">
            <%= is_original=="0"?'':'<span class="article-original">原创</span>'%>
            <%= title.length>0?title:"无题" %>
        </td>
        <td><%- getArticleContentType(content_type) %></td>
        <td><%- weixin_name %></td>
        <td><%- (read_percent*100).toFixed(2)+"%" %></td>
        <td><%- like_num %></td>
        <td>
            <% if(wxb.accounts.length==1){ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i> 加入素材合成器</span>
            </a>
            <% }else{ %>
            <a class="add2material" href="javascript:;">
                <span><i class="fa fa-plus-square"></i></span>
            </a>
            |
            <a class="add2others" href="javascript:;">
                <span><i class="fa fa-external-link-square"></i></span>
            </a>
            <% } %>
        </td>
    </tr>
</script>

<script id="syncOptionTpl" type="text/template">
    <p>上次同步时间为：<%= syncTime %>，请选择处理方法：</p>
    <div id="syncOptionUl">
        <div><label><input name="syncOption" value="local" type="radio"/> 以本地素材为准，最后修改时间<%= localUpdateTime %>；</label></div>
        <div><label><input name="syncOption" value="wechat" type="radio"/> 以微信素材为准，最后修改时间<%= updateTime %>；</label></div>
    </div>
</script>

<script id="previewOptionTpl" type="text/template">
    <p>关注公众号后，才能接收图文消息预览</p>
    <% if(list.length){%>
    <input class="form-input" id="materialPreviewUserName" placeholder="请输入微信号/QQ号/手机号" value="<%- list[0]%>" list="previewUserOptionList" type="text"/>
    <datalist id="previewUserOptionList">
        <% for(var i=0;i<list.length;i++){%>
        <option value="<%- list[i]%>"/>
        <% }%>
    </datalist>
    <% }else{%>
    <input class="form-input" id="materialPreviewUserName" placeholder="请输入微信号/QQ号/手机号" type="text"/>
    <% }%>
</script>

<script id="sendTimerConfigTpl" type="text/template">
    <style>
        .wxbalert.shadow-box {
            top: 200px;
        }

        .alert-content {
            max-height: 400px;
            padding: 10px 20px 40px;
        }
    </style>
    <div class="send-timer-config-wrap">
        <div>
            <p>由于微信强制开启登陆保护导致目前无法设置定时群发，请前往
                http://www.wxb.com/index/mmp下载多平台客户端，然后</p>
        <p>1.账号管理--管理账号处进行授权</p>
        <p>2.内容管理--微信素材处设置定时群发</p>
        </div>
    </div>
</script>

<script id="mpAccountManageTpl" type="text/template">
    <style>
        .mp-account-manage .alert-content{
            max-height: 350px;
            padding: 0 5px;
        }
    </style>
    <div class="mp-account-manage-wrap">
        <table class="sr-table am-table am-table-striped am-table-hover">
            <thead>
            <tr>
                <td width="50"></td>
                <td width="120">名称</td>
                <td width="120">微信号</td>
                <td>登录邮箱/微信号/QQ号</td>
                <td width="280">操作</td>
            </tr>
            </thead>
            <tbody>

            <% _.map(accounts,function(account,index){ %>
            <tr data-id="<%= account.wxid %>" data-index="<%= index %>">
                <td>
                    <div class="account-avatar"><img onerror="fixAvatar('<%- account.wxid %>',this)" class="account-avatar" src="http://open.weixin.qq.com/qr/code/?username=<%- account.wxid %>"></div>
                </td>
                <td><%= account.nickName %></td>
                <td><%= account.userName %></td>
                <td><%= account.account %></td>
                <td>
                    <span class="am-btn am-btn-primary js-top">置顶</span>
                    <span class="am-btn am-btn-default js-bottom">置底</span>
                    <span class="am-btn am-btn-success js-up">上移</span>
                    <span class="am-btn am-btn-primary js-down">下移</span>
                    <span class="am-btn am-btn-danger js-delete">删除</span>
                </td>
            </tr>
            <% }) %>
            <% if(accounts.length===0){ %>
            <tr>
                <td colspan="5">还未添加过公众号</td>
            </tr>
            <% } %>
            </tbody>
        </table>
    </div>
    <div style="position: absolute; bottom: 5px; z-index: 10;">
        <span class="am-btn am-btn-success wxb-btn-xs js-backup">备份公众号到云端</span>
        <span class="am-btn am-btn-primary wxb-btn-xs js-show-cloud">查看云端公众号</span>
    </div>
</script>

<script id="mpAccountCloudManageTpl" type="text/template">
    <style>
        .mp-ccount-cloud-manage .alert-content{
            max-height: 350px;
            padding: 0 5px;
        }
    </style>
    <div class="mp-account-manage-wrap">
        <table class="sr-table am-table am-table-striped am-table-hover">
            <thead>
            <tr>
                <td>名称</td>
                <td>登录邮箱/微信号/QQ号</td>
                <td width="150">操作</td>
            </tr>
            </thead>
            <tbody>
            <% if(loading==true){ %>
                <tr>
                    <td style="text-align: center;" colspan="3"><i class="fa fa-loading fa-spinner"></i> 加载数据中</td>
                </tr>
            <% } %>

            <% _.map(accounts,function(account,index){ %>
            <tr data-id="<%= account.wxid %>" data-index="<%= index %>">
                <td><%= account.nickName %></td>
                <td><%= account.account %></td>
                <td>
                    <span class="am-btn am-btn-primary js-download">存到本地</span>
                    <span class="am-btn am-btn-danger js-delete">删除</span>
                </td>
            </tr>
            <% }) %>
            <% if(loading===false && accounts.length===0){ %>
            <tr>
                <td colspan="3">还未备份过公众号到云端</td>
            </tr>
            <% } %>
            </tbody>
        </table>
    </div>
    <div style="position: absolute; bottom: 5px; z-index: 10;">
        <span class="am-btn am-btn-success wxb-btn-xs js-download-all">所有公众号存到本地</span>
    </div>
</script>


<script id="appConfigTpl" type="text/template">
    <style>
        .app-config-modal .alert-content{
            max-height: 600px;
            padding: 10px;
        }
    </style>
    <div class="app-config-wrap" style="margin-bottom:30px;">
        <div class="hide">
            <input class="js-dir" type="file" nwdirectory />
            <input class="js-file" type="file" accept=".bak" nwworkingdir="<%= wxb.appConfig.backupConfig.path %>" />
        </div>
        <div class="am-g">
            <div class="am-u-sm-3"><div class="part-title-1">备份设置</div></div>
            <div class="am-u-sm-9">
                <div class="part-title-2">备份文件位置：</div>
                <div>
                    <span class="js-backup-path"><%= wxb.appConfig.backupConfig.path %></span>
                    <span class="am-btn am-btn-xs am-btn-primary js-btn-change-path">更改目录</span>
                </div>
                <div class="part-title-2">备份与还原：</div>
                <p>
                    <span class="text-muted">备份微小宝所有的数据</span>
                    <span class="am-btn am-btn-xs am-btn-success js-btn-backup">备份</span>
                </p>

                <p>
                    <span class="text-muted">选择一个备份文件还原微小宝数据</span>
                    <span class="am-btn am-btn-xs am-btn-warning js-btn-restore">还原</span>
                </p>
                <div class="part-title-2">重置客户端：</div>
                <p>
                    <span class="text-muted">删除微小宝所有的数据</span>
                    <span class="am-btn am-btn-xs am-btn-danger js-btn-reset">重置</span>
                </p>
            </div>
            <div class="part-divider"></div>
            <div class="am-u-sm-3">
                <div class="part-title-1">消息通知</div>
            </div>
            <div class="am-u-sm-9">
                <div class="part-title-2">公众号消息：</div>
                <div><label><input class="js-check-msg-tips" <%= wxb.appConfig.MpMsgNotify?'checked':'' %> type="checkbox"> 有未读消息提醒我</label> </div>
                <div><label><input class="js-check-msg-num" <%= wxb.appConfig.MpMsgNumShow?'checked':'' %> type="checkbox"> 显示未读消息数</label> </div>
            </div>
            <div class="part-divider"></div>
            <div class="am-u-sm-3">
                <div class="part-title-1">其它设置</div>
            </div>
            <div class="am-u-sm-9">
                <div>
                    <label><input class="js-check-openflash" <%= wxb.appConfig.closeFlash?'checked':'' %> type="checkbox"> 关闭Flash</label>
                    <div class="text-muted">开启Flash可能会导致部分用户软件使用感觉有点卡顿,关闭会导致编辑器中无法预览到视频,修改设置后需要重新打开软件生效.</div>
                </div>
            </div>
        </div>
    </div>

</script>

<script id="passwordTpl" type="text/template">
    <div class="am-form am-form-horizontal am-pwd-form">
        <div class="am-form-group">
            <label class="am-u-sm-3 am-form-label" for="tplPwd1">加密密码</label>
            <div class="am-u-sm-9">
                <input type="password" class="" id="tplPwd1" placeholder="输入加密密码">
            </div>
        </div>
        <div class="am-form-group">
            <label class="am-u-sm-3 am-form-label" for="tplPwd2">确认密码</label>
            <div class="am-u-sm-9">
                <input type="password" class="" id="tplPwd2" placeholder="请再输入加密密码">
            </div>
        </div>
        <div class="pwd-tips js-tips">
            两次密码不一样
        </div>
    </div>
</script>

<script id="passwordOneTpl" type="text/template">
    <div class="am-form am-form-horizontal am-pwd-form">
        <div class="am-form-group">
            <label class="am-u-sm-3 am-form-label" for="tplPwd1">解密密码</label>
            <div class="am-u-sm-9">
                <input type="password" class="" id="tplPwd1" placeholder="请输入备份时的加密密码">
            </div>
        </div>
    </div>
</script>

<script id="editorVideoOnlyTemp" type="text/x-handlebars-template">
    <p><iframe class="video_iframe" height="258" width="345" frameborder="0" data-src="http://v.qq.com/iframe/player.html?vid=<%= vid%>"  src="http://v.qq.com/iframe/player.html?vid=<%= vid%>" allowfullscreen="" scrolling="no" style="max-width: 100%; display: block; color: rgb(62, 62, 62); line-height: 25.6px; white-space: pre-wrap; z-index: 1; overflow: hidden; box-sizing: border-box !important; word-wrap: break-word !important; width: 345px !important; height: 258px !important; background-image: url('http://shp.qpic.cn/qqvideo_ori/0/<%= vid%>_496_280/0');"></iframe></p><p style="line-height: 25.6px; white-space: normal;"><br  /></p><p style="line-height: 25.6px; white-space: normal;"><br  /></p><p style="line-height: 25.6px; white-space: normal;"><br  /></p><p><br  /></p><section style="margin-top: -188px; margin-left: 80px; line-height: 25.6px; white-space: normal; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"></section><p><br  /></p><fieldset style="white-space: normal; max-width: 100%; min-width: 0px; font-size: 15px; border-width: 1px 0px 0px; text-align: center; line-height: 22px; font-family: 宋体; border-top-color: rgb(168, 168, 167); border-top-style: dotted; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><legend style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; font-size: 16px; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="max-width: 100%; color: rgb(135, 206, 235); box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(0, 0, 0);"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">关注我们</strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></span><span style="max-width: 100%; color: rgb(255, 255, 255); box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(0, 0, 0);">查看更多视频</span></span>&nbsp; &nbsp;&nbsp;</legend></fieldset>
</script>
<!-- template list end -->
<script type="text/javascript" src="assest/plugins/wxb-utils.js"></script>
<script type="text/javascript" src="assest/plugins/he.js"></script>
<script type="text/javascript" src="assest/plugins/aes-js.js"></script>
<script type="text/javascript" src="assest/plugins/jquery.min.js"></script>
<script type="text/javascript" src="assest/plugins/underscore-min.js"></script>
<script type="text/javascript" src="assest/plugins/backbone-min.js"></script>
<script type="text/javascript" src="assest/plugins/amazeui.js"></script>
<script type="text/javascript" src="assest/plugins/Chart.min.js"></script>
<script type="text/javascript" src="assest/plugins/jquery.wookmark.min.js"></script>
<script type="text/javascript" src="assest/plugins/jquery.cbpFWSlider.min.js"></script>
<script type="text/javascript" src="assest/plugins/jquery-ui.js"></script>
<script type="text/javascript" src="assest/plugins/farbtastic/farbtastic.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="assest/plugins/ueditor/plus/upload.js"></script>

<script>require('nw.gui').Window.get().evalNWBin(null, './wxb_files/v1.9.13/core.bin');</script>
<script type="text/javascript" src="assest/plugins/index.min.js"></script>
</body>
</html>
